﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AAA.ResultSet
{
    public interface IResultSet
    {
        void SetAttribute(string strAttribute, string strValue);
        string GetAttribute(string strAttribute);
        bool Read();
        bool Load();
        Encoding Encoding {get; set;}
        int RowCount { get;}
        int ColumnCount { get; }
        object Cells(int iIndex);
        object Cells(string strColumnName);
        List<string> ColumnNames();
        List<string> ColumnHeaders();
        List<object> GetColumn(int iIndex);
        List<object> GetColumn(string strColumnName);
        void Reset();
        bool IsSuccess { get; set; }
        string ErrorMessage { get; set; }
        bool IsDoEvents { get; set; }
        void Close();
    }
}
